-- card: 56820 from stack: in.07 Reference -- bmap block id: 0 -- flags: 0000 -- background id: 13647 -- name: -- part 1 (button) -- low flags: 00 -- high flags: A004 -- rect: left=13 top=289 right=311 bottom=97 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Statements ----- HyperTalk script ----- on mouseUp go to card id 46171 end mouseUp -- part 2 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=17 top=169 right=237 bottom=291 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: -- part 4 (field) -- low flags: 00 -- high flags: 0002 -- rect: left=290 top=169 right=289 bottom=495 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: -- part contents for background part 2 ----- text ----- Prefixed block -- part contents for background part 1 ----- text ----- When the class mechanism is used to contain classes and routines of a package of some sort, one is usually not interested in creating an object of the class. Instead, the class is used as prefix on a block (or on another class which in turn is used as prefix on a block, if one wishes to specialize the package further. The class which is used as prefix must be supplied with actual parameters. Example: -- part contents for card part 2 ----- text ----- class DrawingPrimitives(ScreenWidth,ScreenHeight); integer ScreenWidth,ScreenHeight; begin ! -- routines for drawing on a screen; end; -- part contents for card part 4 ----- text ----- begin class DrawingPrimitives...; DrawingPrimitives(600,400) begin ! -- here all drawing routines are accessible. ScreenWidth=600, ScreenHeight=400; end; end